<#include "user_manager_header.ftl">

<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">开放平台</h3>
	</div>
	<div class="panel-body">
		<ul class="nav nav-tabs">
			<li class="active"><a>管理通用企业</a></li>
			<li><a href="company_common_config_update_manager">增加通用企业</a></li>
		</ul>
		<div>
			<p></p>
		</div>

		<div class="panel panel-default">

			<!-- Table -->
			<table class="table table-striped">
				<thead>
					<tr>
						<th>企业编码</th>
						<th>企业持有者编码</th>
						<th>企业手机号</th>
						<th>企业名称</th>
						<th>企业性质</th>
						<th>运费限制(默认20000)</th>
						<th>企业报表识别标志</th>
						<th>是否车队长模式</th>
						<th>签到半径(米)</th>
						<th>创建时间</th>
						<th>更新时间</th>
						<th>*</th>
					</tr>
				</thead>
				<tbody>
					<#if company_common_config_list?exists> <#list company_common_config_list as companycclist>
					<tr>
						<td>${(companycclist.companyCode)?if_exists}</td>
						<th>${(companycclist.companyHolderCode)?if_exists}</th>
						<th>${(companycclist.companyHolderPhone)?if_exists}</th>
						<td>${(companycclist.companyName)?if_exists}</td>
						<td>${(companycclist.enterpriseNature)?if_exists}</td>
						<td>${(companycclist.stockCostLimit)?if_exists}</td>
						<td>${(companycclist.companyReportFlag)?if_exists}</td>
						<td>${(companycclist.leaderDriverModel)?c}</td>
						<td>${(companycclist.signInRadius)?if_exists}</td>
						<td>${(companycclist.createDate)?if_exists}</td>
						<td>${(companycclist.updateDate)?if_exists}</td>
						<td><a href="company_common_config_update_manager?companycode=${companycclist.companyCode}">修改</a>
					</tr>
					</#list> <#else>
					<tr>
						<td colspan="5">暂无记录</td>
					</tr>
					</#if>
				</tbody>
			</table>
		</div>
		<div class="panel-footer"></div>
	</div>

	<blockquote>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
			Integer posuere erat a ante.</p>
		<footer>Luther</footer>
	</blockquote>

	<#include "user_manager_footer.ftl">

	<script type="text/javascript">
		$().ready(
				function() {

					//
					dictitemdict("UserType", "${(user.userType)?if_exists}",
							$("#usertype"));

				});
	</script>